#include "structures.h"

/**
 * Public constructor
 */
point::point()
{
	this->x = 0;
	this->y = 0;
}

/**
 * Public constructor taking point coordinates
 */
point::point(int x, int y)
{
	this->x = x;
	this->y = y;
}

/**
 * Public constructor
 */
move::move()
{
	this->unit_count = 0;
	this->from_x = 0;
	this->from_y = 0;
	this->to_x = 0;
	this->to_y = 0;
	this->attack_x = 0;
	this->attack_y = 0;
	this->effect = -1;
}

/**
 * Public constructor taking move options
 */
move::move(int unit_count, int from_x, int from_y, int to_x, int to_y, int attack_x, int attack_y)
{
	this->unit_count = unit_count;
	this->from_x = from_x;
	this->from_y = from_y;
	this->to_x = to_x;
	this->to_y = to_y;
	this->attack_x = attack_x;
	this->attack_y = attack_y;
	this->effect = -1;
}
